FROM adoptopenjdk/openjdk15

WORKDIR /app

ARG environment
ENV ENVIRONMENT ${environment}

COPY build/libs/harbor-0.0.1-SNAPSHOT.jar ./

EXPOSE 8080

CMD ["java", "-jar", "harbor-0.0.1-SNAPSHOT.jar"]